exercise 6.4 question no 1 to 6